﻿
using System.ComponentModel.DataAnnotations;

namespace JNPF.Basics.Models.System.Dtos.BillRule
{
    public class BillRuleCrInput
    {
        [Required(ErrorMessage = "业务名称不能为空")]
        /// <summary>
        /// 业务名称
        /// </summary>
        public string fullName { get; set; }
        /// <summary>
        /// 业务编码
        /// </summary>
        [Required(ErrorMessage = "业务编码不能为空")]
        public string enCode { get; set; }
        /// <summary>
        /// 流水前缀
        /// </summary>
        [Required(ErrorMessage = "流水前缀不能为空")]
        public string prefix { get; set; }
        /// <summary>
        /// 流水日期
        /// </summary>
        [Required(ErrorMessage = "流水日期不能为空")]
        public string dateFormat { get; set; }
        /// <summary>
        /// 流水位数
        /// </summary>
        [Required(ErrorMessage = "流水位数不能为空")]
        public double digit { get; set; }
        /// <summary>
        /// 流水起始
        /// </summary>
        [Required(ErrorMessage = "流水起始不能为空")]
        public string startNumber { get; set; }
        /// <summary>
        /// 流水范例
        /// </summary>

        public string example { get; set; }
        /// <summary>
        /// 流水状态
        /// </summary>

        public int enabledMark { get; set; }
        /// <summary>
        /// 流水说明
        /// </summary>

        public string description { get; set; }
        public long? sortCode { get; set; }
    }
}
